<?php

$testStr = "123;234;345";
var_dump(explode(";", $testStr));